package com.neudu.glsb.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neudu.glsb.pojo.Menus;
import com.neudu.glsb.service.MenusService;
import com.neudu.glsb.mapper.MenusMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【menus(存储菜单栏数据)】的数据库操作Service实现
* @createDate 2025-04-16 22:28:32
*/
@Service
public class MenusServiceImpl extends ServiceImpl<MenusMapper, Menus>
    implements MenusService{
    @Autowired
    MenusMapper menusMapper;

    public List<Menus> getByroleid(Integer roleid){
        return menusMapper.selectbyroleid(roleid);
    }

}







